﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Dict;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    /// <summary>
    /// 科室
    /// </summary>
    public class DictDivisionDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.dict.service.inter.dubbo.DictDivisionDubboService";
        /// <summary>
        /// 字典科室信息查询
        /// </summary>
        public GateWayMethod queryPageDictDivision => new QueryPageDictDivision(url);
    }

    public class QueryPageDictDivision : GateWayMethod
    {
        public QueryPageDictDivision(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryPageDictDivision";

        public override string paramClass => "cc.ewell.his.dict.upon.dictdivision.DictDivisionQueryRequest";

        public override Type requestParamType => typeof(DictDivisionQueryRequest);

        public override Type responseParamType => typeof(List<DictDivisionResponse>);

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override string desc => "字典科室信息查询";
    }
}
